/* 全局样式 */
body {
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
header {
    background-color: #39c5bb;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header div {
    display: flex;
    align-items: center;
}

header i {
    font-size: 1.5rem;
    margin-right: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

header input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    margin-right: 8px;
    width: 200px;
    transition: width 0.3s ease;
}

header input:focus {
    width: 250px;
    outline: none;
    box-shadow: 0 0 0 2px rgba(57, 197, 187, 0.3);
}

header i:last-child {
    cursor: pointer;
    transition: transform 0.2s ease;
}

header i:last-child:hover {
    transform: scale(1.1);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

tr {
    transition: background-color 0.2s ease;
}

tr:hover {
    background-color: rgba(57, 197, 187, 0.05);
}

/* 分页样式 */
div {
    margin: 20px;
    text-align: center;
}

div a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #39c5bb;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

div a:hover {
    background-color: #2aa39a;
}

div a:first-child {
    background-color: #f0f0f0;
    color: #666;
}

div a:first-child:hover {
    background-color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header div:last-child {
        margin-top: 10px;
        width: 100%;
    }
    
    header input {
        width: calc(100% - 40px);
    }
    
    header input:focus {
        width: calc(100% - 40px);
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px;
    }
}
.help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.add-button {
    background-color: #39c5bb;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 16px;
    margin: 20px 0;
}

.add-button:hover {
    background-color: #2aa39a;
}

.form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.error-message {
    color: red;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffe6e6;
    border-radius: 4px;
}